/*
 * @Author: your name
 * @Date: 2020-05-25 09:33:43
 * @LastEditTime: 2020-06-03 11:51:45
 * @LastEditors: Please set LastEditors
 * @Description: In User Settings Edit
 * @FilePath: \mobile_project_0519\mobile_post\src\request\api\user.js
 */ 
import { ajaxPost } from "@/utils/request.js"

// 获取登录用户信息接口
export function userInfo(data){
    const url = "/getInfo"
    return ajaxPost(url,data)
}

export function userLogout(data){
    const url = "/logout"
    return ajaxPost(url,data)
}